﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="InitialBu.aspx.cs" Inherits="AuxiliaryManagement_BasicDataManagement_Initialbudget_InitialBu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<link href="../Includes/Guide.css" type="text/css" rel="stylesheet" />
    <link href="../Includes/index.css" type="text/css" rel="stylesheet" />
    <link href="../Includes/MasterPage.css" type="text/css" rel="stylesheet" />
    <link href="../Includes/xtree.css" type="text/css" rel="stylesheet" />
    <link href="../CSS/MyCss.css" type="text/css" rel="stylesheet" />
    
    <title>初始化预算设置</title>
</head>
<script src="../../../js/PageControl.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
    //刷新页面
    function reload() {
        //        window.open('ApprovalFlow.aspx', 'main_right');
        parent.$("#main_right").attr("src", 'BudgetManagement/InitialBuList.aspx');
    }
    //关闭当前窗口
    function winCancel() {
        parent.PE_FrameTab.CloseCurrentTab();
    }
</script>
<body>
    <form id="form1" runat="server">
     <div class="inputbuttondiv">
<asp:Button ID="btnAdd" runat="server" Text="新增" CssClass="inputbutton" />
<asp:Button ID="btnUpd" runat="server" Text="修改" CssClass="inputbutton" />
<asp:Button ID="btnDel" runat="server" Text="删除" CssClass="inputbutton"   />
<asp:Button ID="btnSave" runat="server" Text="保存" CssClass="inputbutton" onclick="btnSave_Click"  />
<asp:Button ID="btnSub" runat="server" Text="审核" CssClass="inputbutton"              />
<asp:Button ID="btnSendSub" runat="server" Text="送审" CssClass="inputbutton"           />
<asp:Button ID="btnSendSubTrack" runat="server" Text="送审追踪" CssClass="inputbutton"  />
<asp:Button ID="btnAnnex" runat="server" Text="附件" CssClass="inputbutton"    />
<asp:Button ID="btnHome" runat="server" Text="首页" CssClass="inputbutton"     />
<asp:Button ID="btnFormer" runat="server" Text="前张" CssClass="inputbutton"     />
<asp:Button ID="btnAfter" runat="server" Text="后张" CssClass="inputbutton"     />
<asp:Button ID="btnLast" runat="server" Text="末页" CssClass="inputbutton"     />
<asp:Button ID="btnPrint" runat="server" Text="打印" CssClass="inputbutton"     />
<asp:Button ID="btnClose" runat="server" Text="关闭" CssClass="inputbutton"  OnClientClick="winCancel()" />
</div>
<hr />
<div>

        <table class="item" style="width:700px">
            <tr>
                <td >预算编号：</td>
                <td>
                <asp:TextBox ID="txtsysno" runat="server" CssClass="inputtexttmp"></asp:TextBox>
                </td>
                <td>&nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td  >预算部门：</td>
                <td>
                 <div style=" height:20px;width:130px; position:relative;border-bottom:0px;">
               <asp:TextBox ID="txtapplyDept0" runat="server" style="position:absolute;left:0px;top:0px;width:110px;bottom:0px;"  CssClass="inputtexttmp"></asp:TextBox>
                    <asp:DropDownList ID="ddlDept" runat="server" Width="130px" Height="20px"
                        AppendDataBoundItems="true" AutoPostBack="True" 
                        onselectedindexchanged="ddlDept_SelectedIndexChanged">
                        <asp:ListItem Value="-1">-全部-</asp:ListItem>
                    </asp:DropDownList>
                    </div>
                </td>
                <td  >费用项：</td>
                <td>
                 <div style=" height:20px;width:130px; position:relative;border-bottom:0px;">
               <asp:TextBox ID="TextBox1" runat="server" style="position:absolute;left:0px;top:0px;width:110px;bottom:0px;"  CssClass="inputtexttmp"></asp:TextBox>
                    <asp:DropDownList ID="ddlCosts" runat="server" Width="130px" Height="20px"
                        AppendDataBoundItems="true" AutoPostBack="True" 
                        onselectedindexchanged="ddlCosts_SelectedIndexChanged">
                        <asp:ListItem Value="-1">-全部-</asp:ListItem>
                    </asp:DropDownList>
                    </div>
                </td>
                <td  >年度：</td>
                <td><asp:TextBox ID="txtUyear" runat="server" CssClass="inputtexttmp" Width="60px"></asp:TextBox></td>
                <td >期间：</td>
                <td class="style1">
                 <div style=" height:20px;width:130px; position:relative;border-bottom:0px;">
               <asp:TextBox ID="TextBox2" runat="server" style="position:absolute;left:0px;top:0px;width:110px;bottom:0px;"  CssClass="inputtexttmp"></asp:TextBox>
                    <asp:DropDownList ID="ddlperiod" runat="server" Width="130px" Height="20px" 
                        AppendDataBoundItems="true">
                        <asp:ListItem Value="-1">-选择-</asp:ListItem>
                    </asp:DropDownList>
                    </div>
                </td>
            </tr>
            </table>
    
</div>
     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" CssClass="baseGridView" Width="800px">
         <Columns>
             <asp:TemplateField HeaderText="序号">
                    <ItemTemplate>
                        <%# Container.DataItemIndex+1 %>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
             <asp:BoundField HeaderText="部门代码" DataField="deptno" >
             <HeaderStyle HorizontalAlign="Left" />
             </asp:BoundField>
             <asp:BoundField HeaderText="部门名称" DataField="deptname" >
             <HeaderStyle HorizontalAlign="Left" />
             </asp:BoundField>
             <asp:BoundField HeaderText="费用项代码" DataField="costsno" >
             <HeaderStyle HorizontalAlign="Left" />
             </asp:BoundField>
             <asp:BoundField HeaderText="费用项名称" DataField="costsname" >
             <HeaderStyle HorizontalAlign="Left" />
             </asp:BoundField>
             <asp:TemplateField HeaderText="预算金额">
                 <ItemTemplate>
                     <asp:TextBox ID="txtBumoney" runat="server" Width="100px" Text='<%#Eval("bumoney") %>'></asp:TextBox>
                 </ItemTemplate>
                 <HeaderStyle HorizontalAlign="Left" />
             </asp:TemplateField>
         </Columns>
     </asp:GridView>
    </form>
</body>
</html>
